import util.PATH as PATH

# with open(PATH.path_sequence_len_path, 'r') as reader:
with open('/home/wanglinhui/bug_triaging/Bug_msg/Eclipse/active_sequence_java_9m.txt', 'r') as reader:
	nums = {}
	for line in reader.readlines():
		count = int(line.strip().split('\t')[1])
		if count in nums.keys():
			nums[count] += 1
		else:
			nums[count] = 1
		# if count == 0:
		# 	num += 1

print(nums)
print(sum(nums.values()))